package com.gray.blog.common.arg;

import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * Created  By zhoux 2018/11/20
 **/
@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class BasePageArg extends BaseArg{

    @ApiModelProperty(value = "当前页")
    @NotNull
    private Integer pageNum;

    @ApiModelProperty(value = "分页大小")
    @NotNull
    private Integer pageSize;

}
